Jump to content

- PBXScript

- # PBXScript.OutputTrace

  Followers 0

  VBScript → Lua

  This function can be used to write trace out into the SwyxServer's trace file. Tracing can be used for debugging of realtime systems and is highly recommended to be used within own script code.

      PBXScript.OutputTrace "Hello World"

  This function returns an integer value of PBXSuccess (0) on success. See list of defined return values.

  This function can be used at any time within a call routing script. The string being passed as parameter will be directly written into the SwyxServer trace file.

  Call routing traces will be written by the SrvScript module of IpPbxSrv to Info3 level.

  To create trace output on any trace level you can use PBXScript.OutputTraceEx.

  The following blog article provides some general hints about tracing within call routing:

  - The Call Routing Guy - #3: Don't by shy, be chatty!

  The following article explains how to filter one single call from a SwyxServer trace file, and from that call only the call routing relevant trace lines:

  - How to filter SwyxWare traces for call routing output of single call

  By Tom Wellige

  - May 16, 2022
  Share
  Share
  Followers 0

## Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.